<script lang="ts" setup>


const props=defineProps<{
  type:string
}>()
console.log(props.type);
</script>

<template>
  <scroll-page>
    <view class="quickly-page">
      <image class="quickly-banner" src="/static/images/quickly-consult.png" />
      <view class="quickly-tips">
        <text class="highlight">20s</text>
        快速匹配专业医生
      </view>
      <uni-list :border="false" class="consult-type">
        <uni-list-item
          title="三甲图文问诊"
          note="三甲主治及以上级别医生"
          show-arrow
          thumb="/static/images/consult-type-1.png"
          thumb-size="lg"  :to="`/subpkg_consult/department/index?type=${props.type}&illnessType=1`" 
        />
      </uni-list>
      <uni-list :border="false" class="consult-type">
        <uni-list-item
          title="普通图文问诊"
          note="二甲主治及以上级别医生"
          show-arrow
          thumb="/static/images/consult-type-2.png"
          thumb-size="lg" :to="`/subpkg_consult/department/index?type=${props.type}&illnessType=0`"
        />
      </uni-list>
    </view>
  </scroll-page>
</template>

<style lang="scss">
  @import './index.scss';
</style>        